#include "app_mqtt.h"

/*
#define MQTT_SERVER "ws://192.168.23.10:1883"                 // 服务器地址
#define MQTT_CLIENT_ID "34bb7155-5184-4eb5-91ad-539356033b01" // 客户端ID
#define MQTT_PUSH_TOPIC "gateway/push"                        // 发布消息的topic
#define MQTT_PULL_TOPIC "gateway/pull"                        // 订阅消息的topic
#define MQTT_QOS 0                                            // QOS等级
*/
int main(void)
{
    app_mqtt_init();

    app_mqtt_publish("hello world", 11);

    sleep(20);

    app_mqtt_deinit();
    return 0;
}
